package org.example.lesson01;

import java.io.File;

public class les01_Demo_05 {
    public static void main(String[] args) {
        //定义一个文件对象
        File file=new File("d:/javacode/aaa");
        System.out.println("创建目录："+file.mkdir());
        System.out.println("====================");
        file=new File("d:/javacode/aaa/bbb");
        System.out.println("创建目录："+file.mkdirs());
        System.out.println(file.delete());
    }
}
